package com.oracle.oa.biz;

import java.util.List;

import com.oracle.oa.entity.Message;


public interface MessageBiz extends BaseBiz {

	//查询在某个时间段内创建的消息
	public List<Message> getByRecordtime(String begintime,String endtime);
	//根据发件人和是否发布进行查询，得到发件箱货草稿箱的集合
	public int getByTouserAndIfpublish(Object user,Object ifpublish);
	//查询在某个时间段内某个部门创建的消息
	public List<Message> getByRecordtimeAndDepart(Object depart,String begintime,String endtime);
	//查询在某个时间段内某个人创建的消息
	public List<Message> getByRecordtimeAndUser(Object user,String begintime,String endtime);
}
